package com.huangwenshuo.futurestarschoolmanagement.pojo.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangwenshuo
 * @since 2020-12-26
 */
@Data
@TableName("roles")
public class RolesPo implements Serializable {

private static final long serialVersionUID=1L;

    @TableId("rid")
    private Integer rid;

    /**
     * 权限code
     */
    private String roleCode;

    /**
     * 权限名字
     */
    private String roleName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 是否删除 0 否 1是
     */
    private Boolean isDelete;



    @Override
    public String toString() {
        return "Roles{" +
        "rid=" + rid +
        ", roleCode=" + roleCode +
        ", roleName=" + roleName +
        ", createTime=" + createTime +
        ", isDelete=" + isDelete +
        "}";
    }
}
